package com.wang.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户角色关系表
 * </p>
 *
 * @author mark
 * @since 2020-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbUserToRole对象", description="用户角色关系表")
public class TbUserToRole implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "user_to_role_id", type = IdType.AUTO)
    private Integer userToRoleId;

    @ApiModelProperty(value = "用户编号")
    private String userNo;

    @ApiModelProperty(value = "角色代号")
    private String roleCode;


}
